/**
 * This file is part of Adguard Browser Extension (https://github.com/AdguardTeam/AdguardBrowserExtension).
 *
 * Adguard Browser Extension is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Adguard Browser Extension is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Adguard Browser Extension. If not, see <http://www.gnu.org/licenses/>.
 */

.adguard-alert-iframe {
    width: 100%;
    border: none;
    position: fixed;
    z-index: 1000;
    top: 16px;
    left: 0;
    display: block;
    margin: 0 auto;
}

.adguard-popup-alert {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;
    font-weight: normal;
    top: 0;
    left: 0;
    max-width: 632px;
    padding: 16px 60px;
    color: #ffffff;
    background-color: #4d4d4d;
    border-radius: 8px;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, .2);
    display: block;
    align: center;
    margin: 0 auto;
    animation: popup-show 4s ease-in;
    box-sizing: border-box;
}

@keyframes popup-show {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.adguard-popup-alert__title {
    font-size: 16px;
    line-height: 18px;
    padding-bottom: 4px;
    max-width: 400px;
    letter-spacing: -0.2px;
}

.adguard-popup-alert__desc {
    font-size: 14px;
    line-height: 16px;
    text-align: left;
}

.adguard-update-iframe {
    position: fixed;
    top: 10px;
    right: 10px;
    border: none;
    width: 320px;
    min-height: 100%;
}

.adguard-update-popup {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;
    font-weight: 600;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-box-shadow: 0 0 5px 2px rgba(33, 33, 33, 0.2);
    box-shadow: 0 0 5px 2px rgba(33, 33, 33, 0.2);
    background-color: #fff;
    padding: 25px;
}

.adguard-update-popup__close {
    width: 15px;
    height: 15px;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 25px;
    background-repeat: no-repeat;
    background-image: url();
}

.adguard-update-popup__logo {
    width: 87px;
    height: 87px;
    background-repeat: no-repeat;
    margin-bottom: 25px;
    background-image: url();
}

.adguard-update-popup__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 15px;
}

.adguard-update-popup__desc {
    font-size: 12px;
    line-height: 19px;
    margin-bottom: 15px;
}
.adguard-update-popup__links {
    margin-bottom: 25px;
}
.adguard-update-popup__link {
    display: block;
    font-size: 12px;
    line-height: 19px;
    font-weight: 700;
    color: #68bc71;
    text-decoration: underline;
    outline: none;
    margin-bottom: 5px;
    -webkit-transition: 0.3s ease color;
    -o-transition: 0.3s ease color;
    transition: 0.3s ease color;
}

.adguard-update-popup__link:hover {
    color: #58a273;
}

.adguard-update-popup__link--disable {
    color: rgba(0, 0, 0, 0.43);
}

.adguard-update-popup__link--disable:hover {
    color: rgba(0, 0, 0, 0.63);
}

.adguard-update-popup__offer {
    font-size: 11px;
    line-height: 16px;
    color: rgba(0, 0, 0, 0.43);
    margin-bottom: 15px;
}

.adguard-update-popup__btn {
    border-radius: 4px;
    color: #000;
    text-decoration: none;
    line-height: 32px;
    min-width: 235px;
    text-transform: uppercase;
    -webkit-box-shadow: inset 0 0 0 1px rgba(151, 151, 151, 0.28);
    box-shadow: inset 0 0 0 1px rgba(151, 151, 151, 0.28);
    -webkit-transition: 0.3s ease background-color;
    -o-transition: 0.3s ease background-color;
    transition: 0.3s ease background-color;
}

.adguard-update-popup__btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
